Automattic\Jetpack\Search\Search_Widget C

Total Complexity 124
Dependencies 13
Dependents 0
Total lines 1,098
Lines of code 729
Logical lines of code 291
Comment lines 290
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
update()
B
38 19 68
widget_non_instant()
B
39 19 59
form()
A
34 10 114
render_widget_edit_filter()
A
32 6 139
maybe_reformat_widget()
A
56 11 16
widget_instant()
A
49 8 32
maybe_render_sort_javascript()
S
46 5 51
__construct()
S
50 6 29
widget()
S
52 5 26
sorting_to_wp_query_param()
S
62 6 10
should_display_sitewide_filters()
S
60 5 13
form_for_instant_search()
S
47 3 43
widget_empty_instant()
S
57 4 16
widget_admin_setup()
S
48 2 36
enqueue_frontend_scripts()
S
59 2 16
is_for_current_widget()
S
78 2 3
get_sort_types()
S
67 2 7
render_widget_attr()
S
77 2 3
render_widget_option_selected()
S
73 2 4
get_allowed_taxonomies_for_widget_filters()
S
60 1 15
jetpack_search_populate_defaults()
S
61 1 14
populate_defaults_for_instant_search()
S
67 1 9
is_search_active()
S
81 1 3
activate_search()
S
81 1 3